package com.star.mall.job;

import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class MainJobHandler {

    @XxlJob("testJobHandler")
    public void testJobHandler() {
        XxlJobHelper.log("Test xxl-job");
    }
}
